package com.xl.recognize;

import lombok.extern.slf4j.Slf4j;

/**
 * JdkVersion: 1.8
 * Author: lei·xie
 * Created: 2024/8/2 0002 15:22
 * Description: 基础认识
 */
@Slf4j(topic = "c.Test1")
public class ThreadDemo01 {
    public static void main(String[] args) {
        Thread t = new Thread(){
            @Override
            public void run() {
                log.debug("running");
            }
        };
        t.setName("t1");
        t.start();
        log.debug("running");
    }
}
